package main

import "fmt"

func main() {
	type celsius float64
	const degrees = 20
	var temperature celsius = degrees
	temperature += 10
	var warmUp float64 = 10
	temperature += celsius(warmUp) //必须进行类型转换 否则报错  说明不是同一个类型
	fmt.Println(temperature)
}
